<%@ page contentType="text/html; charset=UTF-8"%>

<script type="text/javascript">
$(document).ready(function() {
	
	$('#test').click(function() {
		
		$.ajax({
			type:"POST",
 			url:"/am/test",
			data:$('#frm').serialize(),
			dataType:"json",
			success: function(data) {
				alert('success');
			}
		});
	});
});

</script>


test 123 !@3 테스트

<form id="frm">
	
	<input type="hidden" name="testStr" value="test123123" />
	<input type="button" id="test" value="click"/>

</form>